Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Scratchcat1 authored Feb 26, 2018
1 parent 86ef649 commit 183c483
Show file tree
Hide file tree
Showing 2 changed files with 165 additions and 2 deletions.
Binary file modified docs/Documentation/OOP.odt
Binary file not shown.
167 changes: 165 additions & 2 deletions docs/Documentation/OOP_Definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
Crypto #Crypto object to encrypt communications
ClientID #Current clientID
ExitLoop #Bool if should exit
EndClass


UserConection = Class(ClientConnection) #For explanations see AATC_Server_002 UserConnection documentation
Expand Down Expand Up @@ -54,6 +55,7 @@
Protected:
Non_Authenticated_Commands
Authenticated_Commands
EndClass

BotConnection = Class(UserConnection)
__init__(Override) #Overrides __init__ of grandparent. Uses private __ but is inheritable
Expand All @@ -67,6 +69,7 @@
Output_Queue #Note: This is now protected. Some screenshots may include an outdated version
DB
Thread_Name
EndClass

MonitorConnection = Class(ClientConnection)
Public:
Expand All @@ -91,6 +94,7 @@
Protected:
Non_Authenticated_Commands
Authenticated_Commands
EndClass


DroneConnection = Class(ClientConnection)
Expand All @@ -107,7 +111,8 @@
Protected:
Non_Authenticated_Commands
Authenticated_Commands

EndClass

#####################################################################


Expand Down Expand Up @@ -157,6 +162,7 @@
xCount
yCount
zCount
EndClass


Node = Class
Expand All @@ -172,6 +178,7 @@
Friends
Cost
Coords
EndClass


#####################################################################################
Expand Down Expand Up @@ -217,6 +224,7 @@
Username
Crypto
con
EndClass

###########################################################################

Expand Down Expand Up @@ -264,6 +272,7 @@
UserInterface
MenuOptions
Exit
EndClass


#############################################################################
Expand Down Expand Up @@ -294,6 +303,7 @@
zSize
Private:
__str__ #Overridden String method of class
EndClass

###########################################################################

Expand Down Expand Up @@ -322,6 +332,7 @@
IV
EncryptAES
DecryptAES
EndClass

###########################################################################

Expand Down Expand Up @@ -395,6 +406,7 @@
db_con
cur
cur_header
EndClass

##############################################################################

Expand All @@ -414,6 +426,7 @@
con
Crypto
DroneName
EndClass

Flight = Class
Public:
Expand All @@ -432,6 +445,7 @@
StartTime
ETA
Distance
EndClass

Waypoint = Class
Public:
Expand All @@ -444,6 +458,7 @@
WaypointNumber
Coord
ETA
EndClass

DroneInformation = Class
Public:
Expand All @@ -454,18 +469,166 @@
Get_DroneSpeed
Get_DroneRane
Get_DroneWeight
Private:
Protected:
DroneID
UserID
DroneName
DroneType
DroneSpeed
DroneRange
DroneWeight
EndClass


############################################################################


DroneLogicSystem = Class
Public:
Main
CheckForFlight
RunFlight
Protected:
DroneID
DronePassword
FlightQueue
StatusQueue
GPIO_Queue
Sleep_Time
D
EndClass

############################################################################

Thread_Handle = Class
Public:
Get_Thread_Name
Get_ThreadPointer
Get_Queue
Protected:
Thread_Name
Thread_Pointer
Queue
EndClass

Thread_Controller = Class
Public:
Create_Thread
Close_Thread
PassData
Main
Reset
Protected:
Name
Command_Queue
Threads
Exit
EndClass


##########################################################################

MonitorInterface = Class
Public:
Send
Recv
Login
AddMonitor
MonitorChangePassword
GetNoFlyZones
GetDronesAll
GetUserID
GetUsername
GetMonitorDrones
GetMonitorFlights
GetMonitorFlightWaypoints
GetMonitorID
GetMonitorName
RemoveMonitorPermission
GetMonitorPermissionMonitor
GetFlightsAll
GetFlightWaypointsAll
Exit
Protected:
con
Crypto
MonitorName
EndClass

########################################################################

Camera = Class
Public:
GetZoom
SetZoom
IncrementCameraCoordX
IncrementCameraCoordY
SetCameraCoords
UpdateCameraSize
CameraWipe
ResetDrawObject
AddDrawObject
Get_DrawObjects
Get_Coord
Draw
Protected:
xpixel
ypixel
gameDisplay
MinCoords
MaxCoords
CameraCoord
CameraZoom
DrawObjects
EndClass

Monitor_Sprite = Class
Public:
Make_Image
Make_Text
Get_Coords
Protected:
Coords
Type
Text
Colour
image
EndClass

TimeWarper
Public:
GetTimeWarp
Protected:
targetFrameRate
minimumFrameRate
Time
EndClass

##########################################################################

NoFlyZoneGrapher = Class
Public:
Main_Loop
Force_Write
Mod
GetNoFlyZones
Make_Values
Protected:
DB
Interval
Thread_Name
Thread_Queue
xSize
ySize
zSize
Exit
EndClass

###########################################################################

OWM_Control = Class
Public:
Get_Adjusted_Speed
Protected:
owm
EndClass

0 comments on commit 183c483

Please sign in to comment.