'''
Created on 2015. 4. 20.

@author: sunabove
'''

from abc import ABCMeta, abstractmethod

class DroneCmd(object):
    '''
    classdocs
    '''

    __metaclass__ = ABCMeta

    def __init__(self, cmd):
        '''
        Constructor
        '''
        
        self.cmd = cmd 
    
    @abstractmethod
    def doCmd(self): pass   
    

class DroneCmdTakeOff(DroneCmd):
    
    def __init__(self ):
        DroneCmd.__init__( 0x0001 )
    
    def doCmd(self) :
         ""
         
class DroneCmdHovering(DroneCmd):
    
    def __init__(self ):
        DroneCmd.__init__( 0x0010 )
    
    def doCmd(self) :
         ""
         
class DroneCmdLand(DroneCmd):
    
    def __init__(self ):
        DroneCmd.__init__( 0x0100 )
    
    def doCmd(self) :
         ""
         
class DroneCmdAutoFlight(DroneCmd):
    
    def __init__(self ):
        DroneCmd.__init__( 0x0111 )
    
    def doCmd(self) :
         ""
         
# end of file      