TwiceAsNice  2019-02-18
Public Member Functions | Public Attributes | List of all members
AUXCommand Class Reference

#include <NexStarAUXScope.h>

Collaboration diagram for AUXCommand:
Collaboration graph

Public Member Functions

 AUXCommand ()
 
 AUXCommand (buffer buf)
 
 AUXCommand (AUXCommands c, AUXtargets s, AUXtargets d, buffer dat)
 
 AUXCommand (AUXCommands c, AUXtargets s, AUXtargets d)
 
void fillBuf (buffer &buf)
 
void parseBuf (buffer buf)
 
long getPosition ()
 
void setPosition (long p)
 
void setPosition (double p)
 
void setRate (unsigned char r)
 
unsigned char checksum (buffer buf)
 
void dumpCmd ()
 

Public Attributes

AUXCommands cmd
 
AUXtargets src
 
AUXtargets dst
 
int len
 
buffer data
 
bool valid
 

Constructor & Destructor Documentation

◆ AUXCommand() [1/4]

AUXCommand::AUXCommand ( )

◆ AUXCommand() [2/4]

AUXCommand::AUXCommand ( buffer  buf)

◆ AUXCommand() [3/4]

AUXCommand::AUXCommand ( AUXCommands  c,
AUXtargets  s,
AUXtargets  d,
buffer  dat 
)

◆ AUXCommand() [4/4]

AUXCommand::AUXCommand ( AUXCommands  c,
AUXtargets  s,
AUXtargets  d 
)

Member Function Documentation

◆ checksum()

unsigned char AUXCommand::checksum ( buffer  buf)

◆ dumpCmd()

void AUXCommand::dumpCmd ( )

◆ fillBuf()

void AUXCommand::fillBuf ( buffer buf)

◆ getPosition()

long AUXCommand::getPosition ( )

◆ parseBuf()

void AUXCommand::parseBuf ( buffer  buf)

◆ setPosition() [1/2]

void AUXCommand::setPosition ( long  p)

◆ setPosition() [2/2]

void AUXCommand::setPosition ( double  p)

◆ setRate()

void AUXCommand::setRate ( unsigned char  r)

Member Data Documentation

◆ cmd

AUXCommands AUXCommand::cmd

◆ data

buffer AUXCommand::data

◆ dst

AUXtargets AUXCommand::dst

◆ len

int AUXCommand::len

◆ src

AUXtargets AUXCommand::src

◆ valid

bool AUXCommand::valid

The documentation for this class was generated from the following files: